<script src="/echarts/echarts.common.min.js"></script>
<div id="echart" style="width: 100%;height:400px;">ssss</div>
<script type="text/javascript">
    Dcat.ready(function () {
        var myChart = echarts.init(document.getElementById('echart'));
        var option;

        option = {
        xAxis: {
            type: 'category',
            data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
        },
        yAxis: {
            type: 'value'
        },
        series: [
            {
            data: [150, 230, 224, 218, 135, 147, 260],
            type: 'line'
            }
        ]
        };

        option && myChart.setOption(option);

        
    });
</script>